<?php

echo '<?xml version="1.0" encoding="utf-8"?>'."\r\n";
/*
echo '<?xml-stylesheet type="text/xsl" href="/css/rss.xsl"?>'."\r\n";
*/
?>
<rss version="2.0"> 
<channel> 
<title><?=$title?></title> 
<link><?=$link?></link> 
<description><?=$description?></description> 
<lastBuildDate><?=gmdate("D, d M Y H:i:s", time())?> GMT</lastBuildDate> 
<?php foreach($rssitem as $row){?>
        <item>
            <title><![CDATA[<?=$row['title']?>]]></title>
            <link><?=$row['link'] ?></link>
            <description><![CDATA[<?=$row['description']?>]]></description>
            <author></author>
            <pubDate><?=gmdate("D, d M Y H:i:s", time())?> GMT</pubDate>
            <guid><?=$row['link'] ?></guid>
        </item> 
<?php }?>
</channel> 
</rss> 